package jdk8;

public class DoubleCommaTest1 {
    public static void main(String[] args) {
        DoubleCommaTest1_I i = a -> {
            System.out.println(a);
        };
        DoubleCommaTest1_I i2 = System.out::println;

        DoubleCommaTest1_I i3 = System.out::println;

    }
}

interface DoubleCommaTest1_I {
    void fun(int a);
}

interface DoubleCommaTest1_I2 {
    int fun(int a);
}

interface DoubleCommaTest1_I3 {
    void fun(int a, int b);
}